﻿
namespace ZR.Model.Models.ProductionControl {
    /// <summary>
    /// 采集曲线数据
    /// </summary>
    [SugarTable("cks_collected_curve_data")]
    [Table(Name = "cks_collected_curve_data")]
    public class CksCollectedCurveData : BaseEntity {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// PLCID 
        /// </summary>
        public int PlcId { get; set; }

        /// <summary>
        /// 数据块 
        /// </summary>
        public int DbBlock { get; set; }

        /// <summary>
        /// 主产品码
        /// </summary>
        public string PrimaryCode { get; set; }

        /// <summary>
        /// 曲线数据JSON 
        /// </summary>
        public string CurveData { get; set; }

        /// <summary>
        /// 采集批次
        /// </summary>
        public string CollectBatchCode { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreateTime { get; set; }

    }
}